// @ts-ignore
// import { request } from '@umijs/max';

import { request } from "umi";

// 获取轮播图
export async function getBanner(params?: any) {
  return request('/api/banner/list', {
    method: 'GET',
    params,
  });
}